{{#if id}}
    <script>location.href = '/detail?id={{id}}'</script>
{{/if}}
{{#if rows}}
    {{#each rows}}
        <li id="item-{{auctionId}}" class="weui-col-50 {{#if id}}{{../classNames}}{{/if}}">
            <a class="goods-item" href="/detail?id={{auctionId}}" offset="{{../query.offset}}"
               item-id="item-{{auctionId}}">
                <div class="item-pic">
                    <img class="lazy" data-original="{{pictUrl}}" class="block">
                    {{#if couponAmount}}
                        <i class="quan_icon"><span>{{format_number couponAmount}}</span><br>元券</i>
                    {{/if}}
                </div>
                <div class="p8 bgf">
                    <p class="multi-line fix-height fs12 col0">{{{title}}}</p>
                    <div class="single-line" style="line-height: 28px;">
                        <span class="red fs12 mr5">原价¥{{zkPrice}}</span>
                        {{#if quanPrice}}
                            <span class="red fs12">券后¥{{quanPrice}}</span>
                        {{/if}}
                    </div>

                    <div class="single-line">
                        <div class="library_icon">
                            {{#if isNew}}
                                <i class="icons icons_xp1"></i>
                            {{/if}}
                            {{#if userType}}
                                <i class="icons icons_shopB"></i>
                            {{^}}
                                <i class="icons icons_shopC"></i>
                            {{/if}}
                            {{#if isJhs}}
                                <i class="icons icons_jhs1"></i>
                            {{/if}}
                            {{#if isTqg}}
                                <i class="icons icons_tqg1"></i>
                            {{/if}}
                            {{#if isPP}}
                                <i class="icons icons_pp1"></i>
                            {{/if}}
                        </div>

                        <span class="fr">销量{{biz30day}}</span>
                    </div>
                </div>
            </a>
        </li>
    {{/each}}
{{/if}}